import request from '@/utils/request'

export function listRetrieve(query) {
  return request({
    url: '/system/retrieve/list',
    method: 'get',
    params: query
  })
}
export function retrieveDetailList(query) {
  return request({
    url: '/system/retrieveDetail/list',
    method: 'get',
    params: query
  })
}
export function delRetrieve(compFeeIds) {
  return request({
    url: '/system/retrieve/' + compFeeIds,
    method: 'delete'
  })
}
export function retrieveAdd(data) {
  return request({
    url: '/system/retrieve',
    method: 'post',
    data: data
  })
}
export function updategretrieve(data) {
  return request({
    url: '/system/retrieve',
    method: 'put',
    data: data
  })
}
export function retrieveInfo(query) {
  return request({
    url: '/system/retrieve/' + query,
    method: 'get',
  })
}